#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
//int main()
//{
//    int arr[] = { 1,2,(3,4),5 };
//    printf("%d\n", sizeof(arr));
//    return 0;
//}
int main()
{
    int arr[10] = { 0 };
    for (int i = 0; i <= 9; i++)
    {
        scanf("%d", &arr[i]);
    }
    int MAX = arr[0];
    for (int i = 0; i < 10; i++)
    {
        if (arr[i] > arr[0])
        {
            MAX = arr[i];

        }
        printf("%d ", arr[i]);
    }
}
return 0;

}